<template>
	<view>
		<carHeader :title="'预约详情'"></carHeader>
		<view class="nr1">
			<view class="xq-code">
				核销码:{{xqCode}}
			</view>
			<view class="xq-icon">
				<image src="../../static/车联网服务-08我的-03我的维修_slices/二维码.png" mode=""></image>
			</view>

		</view>
		<!-- 维修信息栏 -->
		<view class="nr2">
			<view class="title">
				维修信息
			</view>
			<view class="line">
				<text>维修单号:</text>
				<text class="line2">3535252</text>
			</view>
			<view class="line">
				<text>维修状态:</text>
				<text class="line2">进行中</text>
			</view>
			<view class="line">
				<text>车主姓名:</text>
				<text class="line2">张三</text>
			</view>
			<view class="line">
				<text>联系方式:</text>
				<text class="line2">1993829282</text>
			</view>
			<view class="line">
				<text>维修方式:</text>
				<text class="line2">上门取车</text>
			</view>
			<view class="line">
				<text>取车位置:</text>
				<text class="line2">山阳区</text>
			</view>
			<view class="line">
				<text>预约日期:</text>
				<text class="line2">2022/11/10 11:00</text>

			</view>
			<view class="line">
				<text>提交日期:</text>
				<text class="line2">2022/11/08 12:34</text>
			</view>

		</view>
		<!-- 车辆信息栏 -->
		<view class="nr3">
			<view class="title">
				车辆信息
			</view>
			<view class="line">
				<text>车辆类型:</text>
				<text class="line2">大客车</text>
			</view>
			<view class="line">
				<text>车牌号:</text>
				<text class="line2">豫J45323</text>
			</view>
			<view class="line">
				<text>整车照片:</text>
			</view>
			<view class="line-picture">
				<image src="../../static/车联网服务-08我的-03我的维修_slices/二维码.png" mode=""></image>
			</view>
			<view class="line">
				<text>维修部位照片:</text>

			</view>
			<view class="line-picture">
				<image src="../../static/车联网服务-08我的-03我的维修_slices/二维码.png" mode=""></image>
				<image src="../../static/车联网服务-08我的-03我的维修_slices/二维码.png" mode=""></image>
				<image src="../../static/车联网服务-08我的-03我的维修_slices/二维码.png" mode=""></image>
			</view>
		</view>
		<view class="button" @click="bake">
			取消预约
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				bookResult: '预约成功',
				xqCode: 'WE343235V'
			}
		},
		methods: {
			bake() {
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss">
	.nr1 {
		background-color: white;
		height: 130px;
		width: 323px;
		padding: 16px;
		margin: 10px;
		position: absolute;
		top: 50px;
		border-radius: 10px;
		font-size: 18px;

		.xq-code {
			text-align: center;
			font-size: 14px;
			margin-bottom: 10px;
		}

		.xq-icon {
			position: relative;
			left: 115px;

			image {
				width: 93px;
				height: 93px;
			}
		}
	}

	.nr2 {
		background-color: white;
		height: 270px;
		padding: 16px 16px 0 16px;
		margin: 10px;
		position: relative;
		top: 50px;
		border-radius: 10px;

		.line {
			padding: 5px;
			display: flex;
			justify-content: space-between;
			font-size: 14px;

			.line2 {
				color: #B8B8B8;
			}

		}
	}

	.nr3 {
		background-color: white;
		height: 316px;
		padding: 16px 16px 0 16px;
		margin: 10px;
		position: relative;
		top: 50px;
		border-radius: 10px;

		.line {
			padding: 5px;
			display: flex;
			justify-content: space-between;
			font-size: 14px;

			.line2 {
				color: #B8B8B8;
			}
		}

		.line-picture {
			padding: 5px;
			display: flex;
			justify-content: space-between;
			height: 70px;

			image {
				width: 101px;
				height: 69px;
			}
		}
	}

	.title {
		font-size: 16px;
		padding-bottom: 5px;
		border-bottom: 4px solid #F7F7F7;
	}

	.button {
		position: relative;
		top: 50px;
		left: 270px;
		width: 80px;
		height: 30px;
		border-radius: 5px;
		border: 1px solid blue;
		color: blue;
		font-size: 14px;
		text-align: center;
		line-height: 30px;

	}
</style>